<%@ Page Title="" Language="C#" MasterPageFile="~/Root.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="OpenPhotoAlbum.Default" %>
<%@ Register Assembly="OpenPhotoAlbum" Namespace="OpenPhotoAlbum.Controls" TagPrefix="cc" %>

<asp:Content ID="content" ContentPlaceHolderID="phContent" runat="server">
	<div class="default">
		<table class="infoBar" cellpadding="0" cellspacing="10">
			<tr>
				<td rowspan="2" class="left"></td>
				<td>
					<div class="rounded"><div><div><div>
						<div class="welcome">
							<div class="welcomeTitle"><%= Resources.Strings.InfoBar_SimpleWay %></div>
							<div class="content">
								<%= StringUtility.Format(Resources.Strings.InfoBar_Introduction, ApplicationName) %>
								<asp:HyperLink ID="hlJoin1" runat="server" Target="_self" />
							</div>
						</div>
					</div></div></div></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="rounded"><div><div><div>
						<asp:Panel ID="pnlQuickLoginAnonymous" runat="server" CssClass="quickLogin">
							<table class="regOrLogin">
    								<tr>
							            <td><a href="<%= OpenPhotoAlbum.Links.Join %>" target="_self"><img src="userAdd_s.png" alt="" /></a></td>
							            <td valign="middle"><a href="<%= OpenPhotoAlbum.Links.Join %>" target="_self"><%= Resources.Strings.CreateYourAccount %></a> &#187;<br /><%= Resources.Strings.InfoBar_EasyAndFree %></td>
							        </tr>
							        <tr>
							            <td><a href="<%= OpenPhotoAlbum.Links.Login %>" target="_self"><img src="userLogin_s.png" alt="" /></a></td>
							            <td valign="middle"><a href="<%= OpenPhotoAlbum.Links.Login %>" target="_self"><%= Resources.Strings.LoginView_LogIn %></a> &#187;</td>
							        </tr>
							</table>
						</asp:Panel>
						<asp:Panel ID="pnlQuickLoginRegistered" runat="server" CssClass="quickLogin">
							<div class="titleRegistered"><%= StringUtility.FormatAndHtmlEncode(Resources.Strings.InfoBar_WelcomeHome, HttpContext.Current.User.Identity.Name) %></div>
							<div class="survey"><%= this.MySummary %></div>
							<div class="links"><asp:HyperLink ID="hlEdit" runat="server" />&nbsp;&nbsp;|&nbsp;&nbsp;<asp:HyperLink ID="hlPublic" runat="server" /></div>
						</asp:Panel>
					</div></div></div></div>
				</td>
			</tr>
		</table>
	</div>
</asp:Content>
